<template>
  <div class="Gofoot.vue">
    <div class="foot">
      <!-- <div class="foot-bg"></div> -->
      <div class="foot-bar foot-top">
        <ul class="foot-top-lists">
          <li class="foot-top-item">
            <img :src="require('@/assets/imgs/icons/like.png')" alt class="foot-top-collect">
          </li>
          <li class="foot-top-item">
            <img :src="require('@/assets/imgs/icons/kf.png')" alt class="foot-top-service">
          </li>
          <li class="foot-top-item foot-top-item-bar">
            <div class="foot-top-joinCart foot-top-maimai">加入购物车</div>
            <div class="foot-top-go foot-top-maimai">立即购买</div>
          </li>
        </ul>
      </div>
      <div class="foot-bar foot-bottom">
        <div class="foot-bottom-lin"></div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'Gofoot.vue',

  data () {
    return {
    }
  },

  methods: {}
}
</script>

<style lang='scss' scoped>
@import "@/assets/style/commin.scss";

.foot {
  position: fixed;
  bottom: 0;
  height: 82.5px;
  width: 100%;
  z-index: 999;
  .foot-bg {
    width: 375px;
    height: 400px;
    background-color: #a6b4a3;
  }
  .foot-bottom-lin {
    width: 134px;
    height: 5px;
    background-color: #000;
    margin: 0 auto;
    margin-top: 20px;
  }
  .foot-bar {
    width: 100%;
    height: 50%;
    padding: 0 $basPadding;
    &.foot-top {
      .foot-top-lists {
        position: relative;
        .foot-top-item {
          float: left;
          .foot-top-collect {
            margin-top: 7px;
            width: 27px;
            height: 27px;
            margin-right: 21px;
          }
          .foot-top-service {
            margin-top: 7px;
            width: 27px;
            height: 27px;
          }
          .foot-top-maimai {
            float: left;
            width: 113px;
            height: 40px;
            border: 1px solid #1c4b47;
            border-radius: 4px;
            text-align: center;
            line-height: 40px;
            color: #1c4b47;
            font-size: 15px;
          }
          .foot-top-joinCart {
            margin-right: 8px;
          }
          &.foot-top-item-bar {
            position: absolute;
            right: 0;
          }
        }
      }
    }
  }
}
</style>
